﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace QuizService.beans
{
    [DataContract]
    public class user
    {


        private int id;
         [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string username;
         [DataMember]
        public string Username
        {
            get { return username; }
            set { username = value; }
        }
        private string firstname;
         [DataMember]
        public string Firstname
        {
            get { return firstname; }
            set { firstname = value; }
        }
        private string lastname;
         [DataMember]
        public string Lastname
        {
            get { return lastname; }
            set { lastname = value; }
        }
        private string password;
         [DataMember]
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        private string emailaddress;
         [DataMember]
        public string Emailaddress
        {
            get { return emailaddress; }
            set { emailaddress = value; }
        }
        private bool admin;
         [DataMember]
        public bool Admin
        {
            get { return admin; }
            set { admin = value; }
        }
    }
}